package Pojo;

public class Student {
    private Integer  sno;
    private String  sname;
    private  String pwd;
    private  String age;
    private String address;
    private int state;

    public Student() {
    }

    public Student(Integer sno, String sname, String pwd, String age, String address, int state) {
        this.sno = sno;
        this.sname = sname;
        this.pwd = pwd;
        this.age = age;
        this.address = address;
        this.state = state;
    }

    public Integer getSno() {
        return sno;
    }

    public void setSno(Integer sno) {
        this.sno = sno;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sno='" + sno + '\'' +
                ", sname='" + sname + '\'' +
                ", pwd='" + pwd + '\'' +
                ", age='" + age + '\'' +
                ", address='" + address + '\'' +
                ",state='" +state+'\''+
                '}';
    }
}
